package com.cn.web.user.service;

import com.cn.group.GroupDO;
import com.cn.user.UserGroupDO;
import com.cn.web.user.mapper.UserGroupMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Set;

/**
 * description: UserGroupService <br>
 * date: 23.5.8 13:33 <br>
 * author: cn_yaojin <br>
 * version: 1.0 <br>
 */
public interface UserGroupService {


    void checkExsitByUserId(String groupId);

    void addGroupIds(Set<String> groupIds, String userId);

    List<UserGroupDO> selectUserGroups(String userId);

    void del(Long id);

    void delByIds(Set<String> ids);

    void delByUserId(String userId);

    List<GroupDO> listByUserId(String userId);

}
